import request from '@/utils/request.js'

// 联想建议
export const hotCode = (q) => request({
  url: '/v1_0/suggestion',
  params: {
    q
  }
})

// 搜索结果
export const results = (params) => request({
  url: '/v1_0/search',
  params
})
